package com.ncloud.crm.service.impl;

import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ncloud.crm.entity.BsDiscnt;
import com.ncloud.crm.mapper.BsDiscntMapper;
import com.ncloud.crm.service.BsDiscntService;

@Service
public class BsDiscntServiceImpl implements BsDiscntService {
	
	private static final Logger logger = LogManager.getLogger(BsDiscntServiceImpl.class);
	@Autowired
	private BsDiscntMapper discntMapper;
	
	@Override
	public int insertBsDiscnt(BsDiscnt discnt) {
		return discntMapper.insertBsDiscnt(discnt);
	}
	@Override
	public int updateBsDiscnt(BsDiscnt discnt) {
		return discntMapper.updateBsDiscnt(discnt);
	}
}
